﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using BackupAssurance.Library.Interfaces;



namespace BackupAssurance.Library.ModelsDB
{
    public class pcActiveAgents : IVersionTracking
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public long Id { get; set; }

        public string ComputerName { get; set; }
        public string ComputerIPAddress { get; set; }
        public string NextJobToRun { get; set; }        
        public string PlugInsAvailable { get; set; }


        //IVersionTracking
        public DateTime DateCreated { get; set; }
        public DateTime LastUpdated { get; set; }
        [Timestamp]
        public byte[] Version { get; set; }

    }
}
